package com.starhub.api.docarchive.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**   
 * 系统知识库管理实体层
 * @version: V1.0
 * @author: liuhf
 * @time 2025-05-18
 */
@Data
@TableName("doc_archive_base")
public class DocArchiveBase {
    
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    
    private Long userId;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    private Long writingRecordId;

    private String title;
    
    private String content;
    
    private String writingType;
    
    private Integer isShared;
    
    @TableLogic
    private Integer deleteType;
} 